package org.itboys.store.service;

import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.itboys.store.entity.OrderItem;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by huml on 2016/5/18.
 * 订单行业务
 */
@Service
public class StoreOrderItemService extends BaseService<OrderItem, Long> {

    @Resource(name = "productDS")
    private MongoDataSource orderItemDataSource;

    @Override
    protected MongoDataSource getMongoDataSource() {
        return orderItemDataSource;
    }
}
